﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PWMIS.Common;
using PWMIS.DataMap.Entity;
namespace ConsoleApplication2.Entity
{
    [Serializable()]
    public partial class T_Error_Message : EntityBase
    {
        public T_Error_Message()
        {
            TableName = "T_Error_Message";
            Schema = "dbo";
            EntityMap = EntityMapType.Table;
            IdentityName = "ID";

            //PrimaryKeys.Add("主键字段名");
            PrimaryKeys.Add("ID");


        }


        protected override void SetFieldNames()
        {
            PropertyNames = new string[] { "ID", "Meg", "DateTime" };
        }



        /// <summary>
        /// 
        /// </summary>
        public System.Int32 ID
        {
            get { return getProperty<System.Int32>("ID"); }
            set { setProperty("ID", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String Meg
        {
            get { return getProperty<System.String>("Meg"); }
            set { setProperty("Meg", value, 2147483647); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String DateTime
        {
            get { return getProperty<System.String>("DateTime"); }
            set { setProperty("DateTime", value, 50); }
        }


    }

}
